package com.lee.message.core.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;


@Data
@ConfigurationProperties(prefix = MqTransactionProperties.PREFIX)
@Configuration
public class MqTransactionProperties {

    public static final String PREFIX = "mq.transaction";

    /**
     * 事务消息启用
     */
    private boolean enabled = false;

}
